package com.cloudbroker.bcs.platform.dav.bizapi.t2service.business;

import com.cloudbroker.bcs.common.entity.HSBCPSBackNumVO;
import com.cloudbroker.bcs.common.entity.HSBCPSBackVO;
import com.cloudbroker.bcs.platform.dav.bizapi.constants.IFSFunctionIdsNew;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.back.VoteRecordListBack;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.BrokerUpvoteClickForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.ClickUpvoteForm;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo.RecordListForm;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

@ServiceModule
public interface UpvoteT2BizService {

    /**
     * 5071502点赞
     * @param param
     * @return
     */
    @Service(functionId = IFSFunctionIdsNew.IFSDavReWardFuncIds.FUNC_UPVOTE_CLICK, desc = "点赞")
    public HSBCPSBackNumVO funcClickUpvote(@ServiceParam("param") ClickUpvoteForm param);

    /**
     * 5071503投顾投票
     * @param param
     * @return
     */
    @Service(functionId = IFSFunctionIdsNew.IFSDavReWardFuncIds.FUNC_BROKER_UPVOTE_CLICK, desc = "投顾投票")
    public HSBCPSBackNumVO funcBrokerUpvoteClick(@ServiceParam("param") BrokerUpvoteClickForm param);

    /**
     * 5071504搜索列表
     * @param param
     * @return
     */
    @Service(functionId = IFSFunctionIdsNew.IFSDavReWardFuncIds.FUNC_BROKER_VOTE_RECORD_LSIT, desc = "搜索列表")
    public VoteRecordListBack funcGetVoteRecordList(@ServiceParam("param") RecordListForm param);
}
